package com.pactera.demo.security.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <p>
 *
 * </p>
 *
 * @author chang.zhou
 * @version version
 * @date Created in 2020/3/1 11:31
 */
@Data
public class JwtProperties extends SecurityProperties {

    /**
     * 默认token的有效期为 24 小时
     */
    private int tokenExpiredTime = 24 * 60 * 60;

}
